package com.cuntian.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;
// 2025-01-28 10:30:12
@Data
@TableName("user")
public class User {

    @TableId(value = "uid" , type = IdType.AUTO)
    private Long uid;

    @TableField("username")
    private String userName;

    @TableField("password")
    private String password;

    @TableField("head_image")
    private String headImage;

    @TableField("phone")
    private String phone;

    @TableField("theme")
    private String theme;

    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}
